<?php

class dbase{
    var $database;
    function dbase(){
    	
        $host = "F:\Sistemas Web\PortalProducao\banco\banco_industrial.fdb";
       // $user = 'a7904794_gbsip';
        $user = 'SYSDBA';
        $senha = 'masterkey';
        //$senha = '';
        //$banco = 'a7904794_gbsip';
        //$banco = 'dados';
            $this->database = ibase_connect($host,'SYSDBA','masterkey');
            if (!$this->database){
                die($host);
            }
        return $this->database;
            /*$result = mysql_query('SHOW TABLES FROM a7904794_gbsip');
            while($row = mysql_fetch_row($result)) echo $row[0];*/

    }

}

?>
